package file;

import java.io.File;
import java.io.IOException;

public class Demo1 {
    public static void main(String[] args) throws IOException {
        File f1 = new File("E:\\itheima\\a.txt");
        boolean file = f1.createNewFile();
        System.out.println(file);

        File f2 = new File("E:\\itheima\\aaa\\bbb\\ccc");
        boolean mkdirs = f2.mkdirs();
        System.out.println(mkdirs);
    }
}
